package com.guli.cart.FeignServer;

import com.guli.cart.vo.CartItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author: 朱财艺
 * @date : 2022/02/10
 * @Description:
 */
@FeignClient("gulimall-pms12")
public interface ProductFeignService {
    //product/skuinfo

   @RequestMapping("product/skuinfo/getbyid/{skuid}")
    CartItemVo cartById(@PathVariable("skuid")Long skuid);
}
